package com.be.beadmin.service.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description:
 * @author: Jiaming Zheng
 * @Date: Create in 10:55 2023/2/2
 * @Modified By:
 **/

@Entity
@Getter
@Setter
@Table(name="sys_dict_type")
public class DictType extends BaseEntity {

    @Column(name = "SerialNo",columnDefinition = "VARCHAR(50) COMMENT '流水号' ")
    private String serialNo;

    @Column(name = "DictCode",columnDefinition = "VARCHAR(50) COMMENT '字典编号'  ")
    private String dictCode;

    @Column(name = "DictName",columnDefinition = "VARCHAR(50) COMMENT '字典名称'")
    private String dictName;

    @Column(name = "DictType",columnDefinition = "VARCHAR(50) COMMENT '字典类型'")
    private String dictType;

    @Column(name = "IsEditable",columnDefinition = "decimal(1) default 1 COMMENT '是否可编辑'")
    private Integer isEditable;

    @Column(name = "Memo",columnDefinition = "VARCHAR(50) COMMENT '备注' ")
    private String memo;

    @Column(name = "Reserved",columnDefinition = "VARCHAR(50) COMMENT '预留' ")
    private String reserved;

}
